"""django_flight URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
# """
from django.contrib import admin
from django.urls import path
from django.conf.urls import url

import server_chan
from server_chan import views
import user
from user import views

import django_flight
from django_flight import views

urlpatterns = [
    path('', django_flight.views.index),
    path('login', django_flight.views.login),
    path('index', django_flight.views.index),
    path('crawler', django_flight.views.crawler),
    path('wechat', django_flight.views.wechat),
    path('logging', user.views.login_post),
    path('exitLogin', user.views.exit_login),
    path('register', user.views.register),
    path('name', user.views.get_username),
    path('find_city', django_flight.views.city),
    path('find_sckey', server_chan.views.find_SCKEY_by_id),
    path('sub_crawler_info', django_flight.views.submit_city_data),
    path('get_ex_info', django_flight.views.get_ex_info),
    path('del_ex', django_flight.views.delete_ex_info),
    path('modify_sckey', server_chan.views.modify_SCKEY),
]
